<?php
//include "models/home_model.php"; 
include_once('controllers/Frontend_Controller.php');
class Index_Controller extends Frontend_Controller
{
	public $model; 
	//public $action = "index";
	public $action = "home";
	public function  __construct()
	{
		if(isset($_GET["action"])) $this->action = $_GET["action"];
		$this->{$this->action}();
	}

	public function index() 
	{
		include "views/index/index.php";
	} 
	
	public function home() 
	{
		include "views/index/home.php";
	} 
}
?>
